package com.wlstock.funi.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.Date;

/**
 * Created by admin on 16/9/13.
 */

@DatabaseTable
public class EnvFeel extends BaseModel {
    @DatabaseField(id = true, unique = true)
    private String source;//来源
    @DatabaseField
    private float value;//数值
    @DatabaseField
    private float weight;//权重
    @DatabaseField
    private float weightSum;//总权重
    @DatabaseField
    private float threshold;//阈值
    @DatabaseField
    private float maxWeight;//最大权重
    @DatabaseField
    private float minWeight;//最小权重
    @DatabaseField
    private float weightStep;//权重步进
    @DatabaseField
    private boolean isPlusEffect;//是否正反馈
    @DatabaseField
    private Date createDate;//创建时间
    @DatabaseField
    private String name;//名字
    @DatabaseField
    private String tag;
    @DatabaseField
    private String attr1;
    @DatabaseField
    private String attr2;
    @DatabaseField
    private String attr3;
    @DatabaseField
    private String attr4;
    @DatabaseField
    private String attr5;
    @DatabaseField
    private String attr6;

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public float getWeightSum() {
        return weightSum;
    }

    public void setWeightSum(float weightSum) {
        this.weightSum = weightSum;
    }

    public float getThreshold() {
        return threshold;
    }

    public void setThreshold(float threshold) {
        this.threshold = threshold;
    }

    public float getMaxWeight() {
        return maxWeight;
    }

    public void setMaxWeight(float maxWeight) {
        this.maxWeight = maxWeight;
    }

    public float getMinWeight() {
        return minWeight;
    }

    public void setMinWeight(float minWeight) {
        this.minWeight = minWeight;
    }

    public float getWeightStep() {
        return weightStep;
    }

    public void setWeightStep(float weightStep) {
        this.weightStep = weightStep;
    }

    public boolean isPlusEffect() {
        return isPlusEffect;
    }

    public void setPlusEffect(boolean plusEffect) {
        isPlusEffect = plusEffect;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getAttr1() {
        return attr1;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }

    public String getAttr2() {
        return attr2;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2;
    }

    public String getAttr3() {
        return attr3;
    }

    public void setAttr3(String attr3) {
        this.attr3 = attr3;
    }

    public String getAttr4() {
        return attr4;
    }

    public void setAttr4(String attr4) {
        this.attr4 = attr4;
    }

    public String getAttr5() {
        return attr5;
    }

    public void setAttr5(String attr5) {
        this.attr5 = attr5;
    }

    public String getAttr6() {
        return attr6;
    }

    public void setAttr6(String attr6) {
        this.attr6 = attr6;
    }
}
